﻿using Huirui.Cavan.Presentation.Seedwork;
using Huirui.Cavan.Presentation.ViewModel.StockModule;
using Huirui.Cavan.Application.MainBoundedContext.StockModule;
using Huirui.Cavan.Domain.MainBoundedContext.StockModule;
using Huirui.Cavan.Domain.MainBoundedContext.SearchModule;

namespace Huirui.Cavan.Presentation.Controller.StockModule
{
    public class StockExchangeController : EntityController<StockExchange, string, StockExchangeSearch, IStockExchangeViewModel, IStockExchangeAppService>, IStockExchangeController
    {
        public override string ControllerName
        {
            get { return ControllerConst.STOCKEXCHANGE; }
        }

        public override bool UseDenied
        {
            get { return false; }
        }

        public StockExchangeController()
        {
            this.Model = ModelFactory.CreateModel<IStockExchangeViewModel>();
        }
    }
}
